package hero.mps.web.teacher_role.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("teacher_role")
public class TeacherRole {
    @TableId(type = IdType.AUTO)
    /**
     * 教师角色id
     */
    private Integer teacherRoleId;

    /**
     * 教师id
     */
    private Integer teacherId;

    /**
     * 角色id
     */
    private Integer roleId;
}
